package com.fy.fyspace.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author fwq
 * @since 2025-01-24
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "Aipicture对象", description = "")
@TableName("aipicture")
public class Aipicture implements Serializable {

    // 17 个字段哟
    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键id")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty("用户id")
    private Long userId;

    @ApiModelProperty("原图id")
    private Long picId;

    @ApiModelProperty("图片名称")
    private String picName;

    @ApiModelProperty("图片创建时间")
    private Date createTime;

    @ApiModelProperty("是否删除 1是 0否")
    private Integer isDelete;

    @ApiModelProperty("更新时间")
    private Date updateTime;

    @ApiModelProperty("图片大小")
    private Long picSize;

    @ApiModelProperty("是否公开 1是 0否")
    private Integer isPublic;

    @ApiModelProperty("任务id")
    private String taskId;

    @ApiModelProperty("任务状态")
    private String taskStatus;

    @ApiModelProperty("接口错误码")
    private String code;

    @ApiModelProperty("错误信息")
    private String message;

    @ApiModelProperty("请求唯一标识")
    private String requestId;

    @ApiModelProperty("图像处理源路径")
    private String aiUrl;

    @ApiModelProperty("图像结果cos原图")
    private String url;

    @ApiModelProperty("图像处理cos缩略图")
    private String thumbnailUrl;

    @ApiModelProperty("空间id")
    private Long spaceId;

    @ApiModelProperty("源路径过期时间")
    private Date AiUrlOutTime;

}
